/**
 * $Revision: 1.0 $
 * $Author: Eric Yang $
 * $Date: Oct 13, 2009 11:24:43 PM $
 *
 * Author: Eric Yang
 * Date  : Oct 13, 2009 11:24:43 PM
 *
 */
package com.gooex.web.action.gbuy.product;

import java.util.List;

import com.gooex.domain.base.Product;
import com.gooex.service.base.IProductManager;
import com.gooex.web.action.BaseProtectedAction;


/**
 * @author Eric Yang
 * @version 1.0
 */
public class ListUserProducts extends BaseProtectedAction {

	private IProductManager productManager;

	public List<Product> getProducts() {
		return productManager.getProducts(getCurrentUser());
	}

	public void setProductManager(IProductManager productManager) {
		this.productManager = productManager;
	}

}
